package com.shambles.manage2.tkmapper.entity;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "sys_role_menu")
public class SysRoleMenu implements Serializable {
    @Column(name = "guid")
    private String guid;

    /**
     * 角色guid
     */
    @Column(name = "role_guid")
    private String roleGuid;

    /**
     * 菜单guid
     */
    @Column(name = "menu_guid")
    private String menuGuid;

    private static final long serialVersionUID = 1L;

    /**
     * @return guid
     */
    public String getGuid() {
        return guid;
    }

    /**
     * @param guid
     */
    public void setGuid(String guid) {
        this.guid = guid == null ? null : guid.trim();
    }

    /**
     * 获取角色guid
     *
     * @return role_guid - 角色guid
     */
    public String getRoleGuid() {
        return roleGuid;
    }

    /**
     * 设置角色guid
     *
     * @param roleGuid 角色guid
     */
    public void setRoleGuid(String roleGuid) {
        this.roleGuid = roleGuid == null ? null : roleGuid.trim();
    }

    /**
     * 获取菜单guid
     *
     * @return menu_guid - 菜单guid
     */
    public String getMenuGuid() {
        return menuGuid;
    }

    /**
     * 设置菜单guid
     *
     * @param menuGuid 菜单guid
     */
    public void setMenuGuid(String menuGuid) {
        this.menuGuid = menuGuid == null ? null : menuGuid.trim();
    }
}